package oop3.src.ploymorohic;

public class Cat extends Animal{

    @Override
    public void run() {
        System.out.println("猫的方法");
    }
    public void attack(){
        System.out.println("猫的独有方法:抓人");
    }
}
